package entity;

import common.BaseEntity;

import java.io.Serializable;

/**
 * Created by asus on 2017/6/17.
 */
public class Function  extends BaseEntity implements Serializable {
    private Long id;
    private String name;
    private Long parentId;
    private Integer seriaNum;
    private Integer accordion;
    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getSeriaNum() {
        return seriaNum;
    }

    public void setSeriaNum(Integer seriaNum) {
        this.seriaNum = seriaNum;
    }

    public Integer getAccordion() {
        return accordion;
    }

    public void setAccordion(Integer accordion) {
        this.accordion = accordion;
    }

    @Override
    public String toString() {
        return "Function{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", parentId=" + parentId +
                ", seriaNum=" + seriaNum +
                ", accordion=" + accordion +
                ", url='" + url + '\'' +
                '}';
    }
}
